#ifndef CVUPDATETHREAD_H
#define CVUPDATETHREAD_H
#include <QThread>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/core/core.hpp>
#include "opencv2/imgcodecs.hpp"
#include <opencv2/highgui/highgui.hpp>
#  include <opencv2/imgcodecs/imgcodecs_c.h>
#include "ui_cvdialog.h"

class CVUpdateThread:public QThread
{
public:
    CVUpdateThread();
    CVUpdateThread(cv::VideoCapture _cap,Ui::CVDialog *_ui);
    void run();
    cv::VideoCapture cap;
    Ui::CVDialog *ui;
};

#endif // CVUPDATETHREAD_H
